﻿// <copyright file="Factory.cs" company="Paxoft">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>Pavel Kotlyar</author>
// <email>paxer@mail.ru</email>
// <date>2009-10-12</date>
// <summary>This class is a part of open source .Net Factory Framework for Web Developers. Make Web Dev easy and fun and reduce boring things is the main aim of this project. Project url http://factoryframework.codeplex.com/ . Licence GNU Library General Public License (LGPL)</summary>
 
namespace Factory
{
    using System;
    using System.Collections.Generic;
    using System.Web;

    /// <summary>
    /// Abstract Factory
    /// </summary>
    public abstract class Factory
    {
        /// <summary>
        /// Default Factory state
        /// </summary>
        private bool _factoryEnabled = true;

        /// <summary>
        /// Gets or sets a value indicating whether this Factory is enabled.
        /// </summary>
        /// <value>
        /// <see langword="true"/> if this Factory is enabled; otherwise, <see langword="false"/>.
        /// </value>
        public bool FactoryEnabled
        {
            get { return this._factoryEnabled; }
            set { this._factoryEnabled = value; }                        
        }
    }
}